package com.test.design.pattern.memento.black_box;

import com.test.design.pattern.memento.white_box.RoleStateMemento;

/**
 *@ClasName RoleStateCaretaker
 *@Descripution TODO 备忘录对象管理对象
 *@Author leikw
 *@Date 2022/2/26 9:47
 *@Version V1.0
*/
public class RoleStateCaretaker {

    //声明RoleStateMemento类型的变量
    private Memento Memento;

    public com.test.design.pattern.memento.black_box.Memento getMemento() {
        return Memento;
    }

    public void setMemento(com.test.design.pattern.memento.black_box.Memento memento) {
        Memento = memento;
    }
}
